package com.gpshistory;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;
import android.widget.Toast;

public class BootLauncher extends BroadcastReceiver {

	@Override
	public void onReceive(Context ctx, Intent intent) {
		Log.i("BootLauncher", "boot detected");
		
		Intent gpsReader = new Intent(ctx, GPSReader.class);
		ctx.startService(gpsReader);
	}

}
